package com.lanou3g.springmvc.web;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * 测试类，只是测试当我们项目中如果配置了拦截*.jsp请求的Servlet后，访问xx.jsp时DispatchServlet是否能接到请求
 */
public class MyJspServlet extends HttpServlet {
    @Override
    protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("当前访问了MyJspServlet");
    }
}
